Fixed the json into a valid format