Update JsonCppWrapper.cpp

Break the loop if an object is found