It would be easy enough to do this from the object/array walking functions and it could make the jsonGet function much simpler.