Java b-encode serialization/deserialization