update JSON strings to be proper JSON, plus escape quotes