added csv specific encoder