replacing simplejson with the std lib json, since there is  no real reason to introduce a new dependency