adding declared type name format checks
removing struct and list size from binary format for now