Add generic method to convert the JSON result of a request to a URL to an object.