Refactoring rest api nested serialization
Refactoring rest api nested serialization