JSON in Environment Variables: Escaping, Encoding, and Parsing