fix: toJson/fromJson needed