code gen issues + tweaks

Fixed mechdb issue generated tables into wrong db's across projects
Fixed mechnet issue missing import for primitive array serialization/deserialization