Add string writer with enconding support and test project