implmented declaration-list serialization