Added error handling in the case where configuration could not be converted to JSON.
Added error handling in the case where configuration could not be converted to JSON.

vanderbilt/redcap-external-modules,vanderbilt/redcap-external-modules,vanderbilt/redcap-external-modules