Note that objects must have string keys in JS. You can't use integers.