More JSON helpers in specs

This change encapuslates GDS-SSO token authentication and the API headers