Use JSON for env var values

(ie. so we can serialize/de-serialize more complex structures via JSON)