Partially resolve "Export to JSON"

Partially Resolve #70.
It's still have some minor bug's that will be solved as soon as possible.