Only save top ranked stems in JSON file; provide function for that