Copy nested data to an SQL db

This presents a general approach to migrate data from CosmosDB (NoSQL) database to Postgres. This simple script uses PySpark to take each container and transform it in a way that can be stored by an SQL normalized schema.