savejson should be always the same method
merge upstream/master
Merge pull request #381 from daeks/380

Bugfix: savejson should be always the same method