Serialization and Reflection proof of concept in C