added from_json_dict