Fix parsing nested tables in arrays

Closes #36