strings need to be null terminated to send to browser