encoding/json, but without the base64 behavior