cleanup 'improper' use of simplejson internals

this cleans up remaining examples where we poke into simplejson internals in favor of strictly using the public API to access and convert data, making the code more resilient to potential future simplejson internal changes.