Added JSON parsing for gear.