Use json.parse to make patch work properly