convert tags array to string with or expression