added json export
illustration improved