refactor GET reponses to use template method