Converter from obj to self crafted format.