[json] json endpoints for /trebuchet(/timeline)