Using Json List Python Functions Without Parameters Vs Attributes