reformatting of json return strings to be compatible with rpcd on OpenWRT