added json tree navigation in wrapper
added functions to restapi wrapper