Force roledefs to a dict

Signed-off-by: Francis Giraldeau <francis.giraldeau@gmail.com>