Switch from strings to bytes for NS data in protocol