Added json lib, fixed AddRole method.