Fix treeView.serialize is not a function
Fix treeView.serialize is not a function

Shamelessly stole the fix from
https://github.com/snowkit/atom-haxe/pull/69/commits/abbd9b92

fordhurley/atom-glsl-preview