bugfix: read-json-from-body sometimes tried to use arity 2 when the
function only allows 1 arity