Use easier representation for links internally.
Throw error if permissions contain non-operators.
Only support JSON formats as media types.
Handle Express errors.
Support updating permissions in application/json with inherit link in headers.
Do not crash if operator args are objects instead of arrays.
Do not set empty inherit link if there is none.
Support retrieving permissions in application/json with inherit link in headers.
Print stacktrace for unhandled exceptions.