Initial implementation of the config serialization