Iterates over a JSON object and returns a key, tree path, and value