Extract all packets/case classes to objects