Using Json List Python Functions With Parameters In Python