covert roles array into object
need to treat array vs object correctly
parsing ids as integers
Merge branch 'feature/roles-update' into dev