Change json pull requests to an object.