BUGFIX: metadata parsing for events