Spark Convert Struct To Map