What about returning a list of strings? Still won't be the ideal case, but would at least would be removing one step in the formatting process here.