converted to JSON::MaybeXS