Fixed boolean printing in dictionaries