ADD: set content type of xhr responses to application/json