Add hash method to response