Fixed the handling of Roles as JSON Array