output.writeLong(element.createdAt());
output.writeLong(element.updatedAt());
Map<String, Object> properties = element.getProperties();
output.writeInt(properties.size());
properties.entrySet().forEach(entry -> {
<BUG>output.writeString(entry.getKey());
byte[] bytes = ValueUtils.serialize(entry.getValue());
output.writeInt(bytes.length);
output.writeBytes(bytes);</BUG>
});

output.writeLong(element.createdAt());
output.writeLong(element.updatedAt());
Map<String, Object> properties = element.getProperties();
output.writeInt(properties.size());
properties.entrySet().forEach(entry -> {
output.writeString(entry.getKey());
kryo.writeClassAndObject(output, entry.getValue());
});
