Add hypermedia functionality to the response

See #559