Patch tuple/dict handling in Item.upload