Move response type out to the redis library