way to serialize messages and data structures.