Allow configurable response type
Merge pull request #12 from sheniff/feature/custom_response_type

Allow configurable response type