Fix sleepy mistake of making arrays instead of objects.