MAID-390-cereal_integration_common

Replacing protobuf with cereal in common and adding global helper functions to serialize.
Missing `value_()` from initialisation list.