New to Python and coding and experiencing a problem where values are being added to the wrong object. I am consuming 2 api\'s as JSON and converting one which is heavily nested