Added JSONFactory to allow JSONing.