The backend serves semesters as an array. But you also need hash-like lookup. In some languages (not Javascript) there are hashes that preserve order. The workaround would be for the backend to serve you a hashmap of semester slugs to array indices. That's pretty easy to create, and easy to consume. Let's discuss when you're in.