adding support for multiline labels based on labels as an array. has underscore dependency now (i don't expect anyone else to use this, so should be fine)