What's the proper way to generate the JSON file for uploading to CloudFormation? It would be nice to document this in the README. For testing I manually import all the modules and then write template.to_json() to a file, but it seems like this should be built in or documented in some way.