Fixed support for json on python 2.6