initial data collector and JSON API