convert repository tree api call to use json request
Merge branch 'jeff-dev'