Small code cleanup.
Changing default keyProperty from 'key' to 'name'.
Auto set key value to the item when processing