Generate a pydantic model that can easily be mapped to yaml format. 1. customize the docker compose generator function to model transformation (json to yaml) 2. remove any field that has None value