Switched json functions.
Merge branch 'origin/gh-pages'