Adds serialization support to cpm-entity-system.