One thing we do a lot in scripting is converting an object to another. A Mapping Tool transfom would be useful, in Bindings or in the new Event Stream. For a sample, Boomi, an integration platform, have a mapping tool that could be a good starting point to get inspiration