Modify deserialize() to return num bytes consumed in addition to the deserialized value.

Return object now looks like this: {value: "Hello world", consumed: "12"}