JSON renaming to follow new API
Fix sortperm for new sort API
Merge pull request #59 from loladiro/master

Fix some upstream API changes in JSON and julia