Use print_quoted in print_to_json

This is so quotation marks get property escaped whet outputing JSON.