When I add var2 to the first index, it overwrites the entire
object that is there, so var1 has no value. I want to make it so
that var1 and var2 are separately added to the first item without
the second addition overwriting the entire object. Any advice would
be greatly appreciated.