resolves with statusCode: 200 and body if path is present in tree