fix json loading error in python 3.3