Rename print to serialize for buffers and options as well
Hmm std:string::compare is slow