buffer marshalling

Don't call actual toJSON when passing buffers across boundaries.
Rather, use the allocated buffers on the parent end.