Extendable builder for text-based file formats