Class root to json-ld