Checking how json works