Adding getstr mode to download an object into a variable