class SerializedEvent {

    public Map<String, Object> getMetaData() {
        Map<String,Object> metaData = new HashMap<>();
        asEvent().getMetaDataMap().forEach((key, value) -> metaData.put(key, asObject(value)));
        return metaData;
    }

    public  SerializedEvent(Event event);
    public  SerializedEvent(byte[] eventFromFile);
    public  SerializedEvent(InputStream event);

}