fixed JSON formatting issues