head -1 CL021.csv > CL020.csv
cat generated_codelist.csv|grep cl020|cut -d';' -f4|jq -r  '[.code,"nl",.unit // .description, .description] | @tsv'|sed 's/\t/|/g' >> CL020.csv

cat generated_codelist.csv|grep cl022|cut -d';' -f4|jq -r  '[.code,"nl",.description, .description, .n, .p, .k, .composition,.type] | @tsv'|sed 's/\t/|/g'