Allow SDK to handle other response types apart from JSON