refactoring to unify parsing methods
removing custom http request handling code