in reply to JSON error '"' expected, at character offset 1
JSON expects double quotes. So, replacing the double quotes should work. Maybe you care to show us the code you used to replace the single quotes with double quotes?