Fixes the namespace_info JSON to JSON encoding.