jobTree style wrapper for Spark map-reduce engine