Fixed: Not generating inferred records in JSON encoding.