(maint) Fix malformed JSON responses.

Have to work around a bug in liberator where it doesn't know how to
serialize maps returned by `handle-malformed` without some help earlier
on in `malformed?`..