refactor spark param map creation
refactor spark param map creation

rstudio/sparklyr,rstudio/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,kevinykuo/sparklyr,rstudio/sparklyr,rstudio/sparklyr,kevinykuo/sparklyr