fixed issue where labels would not be created for a list of names
fixed fetching values for arrays of items
fixed some lingering issues with legend detection