Fixed JSON using Class.forName before tagToClass.

closes #2314
Merge remote-tracking branch 'origin/master'