Add failing test - dictionary items don't get properly nested