sanitize json output (run through dumps)