json endpoints for networks and datasets, with tests