Add response transformer
Add test. Small refactoring.