added functionality to retrieve all roles in an array and in json format on roleinternalservice class with tests