Spark: How to parse a text file containing Array data

Arrays are an efficient method of sharing 1 to many data in a single row without creating duplicate entries.