Add generic As method to http response handler
Merge pull request #21 from jonnii/object-deserialize

Add generic As method to http response handler