Fix slow reads by avoiding marshalling via byte-streams