Fixed passing of Buffers back and forth between scoop and roleys through JSON serialization