Pass item to item template as object instead of converting to array.

Breaking change