removed tpl and json-c added as serialization method