Fixed JSON parsing errors.