Output to elastic search using Spark SQL json scheme