Support arrays using second table

It can't cope with arrays inside objects inside arrays, though.