Update run_analysisJSON.R

Condense