Reduce code duplication
This will be 0.3
Remove condition
Merge pull request #15 from zf-fr/simplfy-response

Reduce code duplication