Allow dictionaries to be nil

Nil dictionaries don't insert a separator into the generated token.