use JSON from the convert package since dart:json is deprecated
updated the json methods
Merge pull request #86 from nikgraf/master

use JSON from the convert package since dart:json is deprecated