Serializing an EntityCollection or DataSource into czml?

Is there a way to serialize an EntityCollection or DataSource into czml?
Or better yet, is there a way to serialize just the updates so that they can be merged into a remote DataSource / EntityCollection?

Hmm. I read in another thread that this is on the roadmap, so I guess this is not really possible yet.

What I am going to try to do instead is ensure all my updates to the data are via czml only. This way I can at least intercept the updates in one place in a form that can easily be consumed by another CzmlDataSource. (Someone) Please let me know if this doesn’t sound like it will work…

It’s not possible yet, but it’s been on my to-do list for a long time. We’ve added it to our list of Google Summer of Code projects, so it’s possible someone will work on it soon.