toString with type indicator
fixed metadatatag: name for Event.type and type for class