reading the JSON::MaybeXS docs there could be some confusion as to the section "which works equivalently to the above (and in the usual tradition will accept a hashref instead of a hash, should you so desire).", specifically an optimistic interpretation of "the above"