made GenericRecordSerializer covariant on GenericRecord