Auto mapping redis value to object and reverse.