Bugfix: handling newline variants on dictionary creation.