To start looking at this, we'll return to the EmailMessage model defined in the client package at https://github.com/PacktPublishing/Hands-On-GUI-Application-Development-in-Go/tree/master/client, which was imported in previous chapters. By adding simple hints to this object, we can correctly serialize and deserialize in both JSON and XML formats with ease.