{
  "@odata.context" : "<%= basepath %>/$metadata#Roles",
  "@odata.type": "#RoleCollection.RoleCollection",
  "Oem": {},
  "Members@odata.navigationLink": {
    "@odata.id": "<%= basepath %>/Roles"
  },
  "Members@odata.count": <%= (roles.length) %>,
  "Members":[
    <% roles.forEach(function(role, i, arr) { %>
{
  "@odata.id": "<%= basepath %>/AccountService/Roles/<%= roles[i][0] %>"
}
<%= ( arr.length > 0 && i < arr.length-1 ) ? ',': '' %>
<% }); %>
],
  "Name": "RoleCollection",
  "Description": "RoleCollection"
}
{
  "@odata.context" : "<%= basepath %>/$metadata#Roles",
  "@odata.type": "#RoleCollection.RoleCollection",
  "Oem": {},
  "Members@odata.navigationLink": {
    "@odata.id": "<%= basepath %>/AccountService/Roles"
  },
  "Members@odata.count": <%= (roles.length) %>,
  "Members":[
    <% roles.forEach(function(role, i, arr) { %>
{
  "@odata.id": "<%= basepath %>/AccountService/Roles/<%= roles[i][0] %>"
}
<%= ( arr.length > 0 && i < arr.length-1 ) ? ',': '' %>
<% }); %>
],
  "Name": "RoleCollection",
  "Description": "RoleCollection"
}
Fix ODR-798: RackHD Redfish v1 - /redfish/v1/AccountServices/Roles - bad link returned in @odata.id
Fix ODR-798: RackHD Redfish v1 - /redfish/v1/AccountServices/Roles - bad link returned in @odata.id
