Refactoring http proxy data into a single object