fixup! JSON response support and some default headers