Truncate for dictionary