Added json support for token admin class