json serialization, namespace update