Add csv output option, configurable delimiter