Add getWindFromJSON function