tried creating dto object to resolve json self ref error. but I'm tired. goodnight