fixed issue with date formatter and non-string values
fixed incorrect behaviour for empty json arrays