CDAP-735: Update visualization of Spark job metrics

we need this wrapper for passing 'this' scope for __updateMetrics() function.