fix bug that was introduced with recent addition of array based td formats, which only works for args of type dict, while for backwards compatibility we need to also support args in e.g. type list.
Merge pull request #171 from jrjohansson/fix-td-format-args-type

fix bug that was introduced with recent addition of array based td formats