Built pickler to pass pickle test