added some json stuff? some minor style modifications

^