Just make index.read() return obj - always what you want