making previous commit backward compatible with style of arrays being passed and adding optional description property