ensure a string with a comma gets parsed into an empty array
ensure strings ending with commas dont add an empty tag