Add Json Object To List Python Methods Vs Functions