added support for JSON where the required quotes are escaped