Remove duplicate code in station info api

Make it easier to maintain the other items in the dictionary