Parts must be encapsulated in a CollectdPacket, otherwise the CollectdEventsDecoder may mix type names and instances

Also, some code cleanup and doc update