Fix nested lists formating