Fixing formatting issues in JSON file