kea model serialization