SerializeListener sonata media refactor fix