Fix whitespace errors and missing comma on JSON