in from_json(), it do not loop json_data but __slots__