Removed String[] names

replaced all references to names with entries[i].getClass().getSimpleName()
Merge pull request #2 from CrisAdam/master

Removed String[] names