Update test to not depend on the JsonSerializable interface