path change for two json libraries
Defensive coding: assertions and logging in main