implement toJson mehod
implement load method
Update README.md with serialization options
Merge branch 'issue/18'
implement umd support
Merge branch 'feature/umd'