Unwrap single item arrays, format all items in array, add field formatter tests
Merge pull request #2032 from rashidkpc/fix/date_field_formatting

Retrieve index date fields as longs, format them.