Fixed depricated json dependency

Simplejson is depricated. Use json instead when available.