Openjson Nested Array Python Methods Vs Functions Javascript