Automate install of json gem

Currently the module depends on the json ruby gem being present but is not installed by the module itself. This adds the rubygems package and uses the gem package provider to ensure this is installed. This removes what was an external dependency and should be platform agnostic as it shouldn't require EPEL on RHEL based systems.