throw more informative exception if path not found
fix option order and json path