Add json format of dictionary.
Updated.