new endpoint for loading json