Allow csv with metadata option to be used when no metadata feature exists rather than returning a null pointer exception