Added triggers to JSON API, removed some old urls.