Fixes the namespace_info JSON to JSON encoding.

Change-Id: I7fef7afebb36716d265e2b3cb0006edb7e29eeca