Included the common utils script but doesn't use it right now.
Add chunked which can be used to see output right away. Add JSON as output format to switch.