Support setting arguments from JSON.