make REST calls by name instead of id