Internal error response is now JSON.
Use cheshire as json encoder in Liberator.