no need to use fromJson and toJson at all