made the json marshalling actually produce json...