implement redis hash support