tag should be validated so that it only accepts String/Array types