 I am creating this small library that can be described as  &quot;jquery for streams of heterogeneous schemaless messages&quot;  which pretty much could be a lean replacement for the ugly switch at flex-like architectures.
  You can sneak a working barebones, very early preview at <a href="https:&#x2F;&#x2F;github.com&#x2F;constructo&#x2F;neurobus" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;constructo&#x2F;neurobus</a>