python implemtation to convert redis command to redis's 'Unified Protocol'