Using Json List Python Functions With Parameters Python