fixing some json stuff - not currently working