Work in progress version of the api get serialization. Broken atm, committed only for Veeru to add the model modifications which are required for the future development