bug fix: serializeMany should expect a RecordArray