fix role configuration deserialization