I suggest to use JSON::PP instead. JSON::PP is an core module since v5.13.9