Created actually well-formed json by escaping " and \.

Yeah, I'm an idiot.