Fixed: Wrong variable used while parsing the JSON input.