add a JSON endpoint for current assignments