*/
@Override
public Map<String, Object> write(Element element) {
Map<String, Object> entity = super.write(element);
Message message = Message.class.cast(element);
entity.put(Dictionary.FIELD_ACK, !message.request());
entity.put(Dictionary.FIELD_THREAD, message.thread());
entity.put(Dictionary.FIELD_BODY, message.content() ? message.getBody().getText() : null);
return entity;
}