recursively wraps any object["NAME"] into object.NAME, as the JavaScript objects do