Update JsonObjectBase.cpp

For objects too