better license
adding space param to toJSON
0.2.5 improves toJSON