Js object converter and Enable Roles