Document events emitted by phantomas core
Script for generating metadata.json