Rewrote query for popular.json