lis to dictionary example