refactored for execution on phoenix
added jsonpath library for parsing api return