Access Nested Json Data In Python What Is A Function