Add add_resource wrapper to the response encoder, allows adding HAL _embedded resources