rename readJson param "class" to "outputClass"