example for serialization/deser. of delegates