Using Json List Python Functions With Arguments