fixed case when source json record has only one item not wrapped in a list

When source record is not a list, but dictionary with single record, it is invalid treated as list of iterable items.
This pull request fixed that case.