Spark Convert Struct To Array