* command/jsonstate: marshal state into a machine readable blob o'json * consistent json tags are nice