Adding RemoveEmptyLine method for the dictionary