now ignores scala specific stuff
ported protobuf to serializable scala case classes