Make the rest_request method return raw json.
Add in render lib.