replaces default json imports by boto.compat ones

and thus fixes opened issue #1238