feat(bh:utils): add populateQuery method to the backend utils