fix perf issues with FF & TupleDictionary

Using an object instead of an array for TupleDictionary data seems to fix the performance issues introduced in #81. Not sure why that was an issue in FF, but like I said in that PR an object would make more sense here anyway.

Hopefully this will help to fix #95 as well.