Added constructing Json strings from gpexpermissiondata to save into
mysql