ALM-426 proper handling of JSON accept headers and content type