OutputA JSON object containing a ranked list of tokens with their normalized frequencies (e.g., [{token, frequency}, ...] limited to top_n).