2nd attempt at buffer.toString