Reflect-CPP can be used to save the network in SONATA and similar formats without explicitly specifying field names.