sync references.json/encoding