WIP: write strings using new API