Working on Message type serialization