properly handle malformed content: https://github.com/clojure-liberator/liberator/issues/94