changed the format of the JSON output