refactors base adapter to use attr paths in response data