There documentation says that anything other than a 200 response is
considered an error and nothing about the format. They accept JSON
responses for successful questions so I think JSON responses for errors is
okay too.