I am creating an API to get data from the database and appending roles and permissions over the table, while doing this I unable to append permissions with their respective