Filtering non-printable characters from the response in livedata.js