Convert from JSON.pm to JSON::MaybeXS.

JSON::MaybeXS is more recommended and t/json.t segfaults here with
JSON.pm , JSON::XS and Readonly installed.