RBAC service errors

RBAC API error responses can be formatted as ctext/html or JSON objects.