Added json support trait