add custom response data support, resolves #12