In the same vein, but without needing to create separate de- and serialize functions:
https://github.com/eliasdaler/MetaStuff
Another take on the same idea with even simpler interface:
https://github.com/eliasdaler/MetaStuff
Another take on the same idea with even simpler interface: