fix json for python2.7

seaf-cli has this problem with python2.7
try import native json library first