ensure json for registrations and sessions end point