use dojo/_base/json to make 1.7 compatible