added todos nested to a list in api