Fixed JSON parsing issue