Pack Geometries before passing to a web worker

I'm opening this PR early so @mramato can take a look. I'll post performance numbers soon.