Make it easier to handle more complicated AWS JSON templates

Compact the JSON to accommodate larger templates, add a "show-template" function that doesn't try to validate so we can dump the template to a file, and pretty-print templates more when able.