add json representations