write gist body into object on response