build: adding support for json output
build: minor, fixing migration issue