Module and field changes

Changed the JSON::XS module to use JSON instead.
Fixed an issue with the required parms to check the scalars instead of
the hash.