added ability to return multifields as array