added rediska compatibility to serialize arrays on set method