For returning a primitive from the other side, no ByteArrayObjectDataOutput is created