MAID-390-cereal_integration_common

Replacing protobuf with cereal in common and adding global helper functions to serialize.
`#include <string>` isn't required is it?