Further work done on decoding JSON