updated for json.
Merge branch 'master' into gh-pages