navigate though a JSON tree