Revert "The writeFeatures method should always return a string"

This reverts commit 7ab5f4044ce606163828634686586c6e7ed2455b.