use writeOptionalStreamable() instead of writeBoolean(false)