Sounds like you're looking for a module to output YAML or JSON. The modules you listed are not intended or designed for use as a configuration store. I'd consider using them that way unsecure at best for that purpose seeing as the simplest solution for restoring the data would be a blind eval.