jsonapi media & pagerduty specs and fixes