Changed the patchset_data to be a json object instead of json array. Removed old commented code