Now using Accept header rather than .json for API calls