Add support for resource and action metadata in rendered HAL output