Fixed some issues with the api's Accept header