in reply to Converting entities in JSON context
Does *?Module?::decode_json() do what you think it is doing?.
JSON::MaybeXS chooses a module from which the decode_json sub is searched for, as it is not defined within this module.