I was actually hoping someone else could do it.  I looked into it briefly and it seemed like it would take me a long time to figure out.  I'm sure someone else could do it much more quickly.  I created an issue for it.