Add a RestRequest to parse JSON object.