JSON is proper format compared to using safe_eval which is a hack to convert string repr of dict object back into python object.