strip 8bit chars from the JSON before sending it to the client