added the set class and other methods to magic json class