Ensure custom_fields are included in the generated CSV