JSON parse and line argument management