Add option for JSON formatted output

Sergej Kostjucenko requested to merge hc-json-output into master

Created by: HCastano

Adds a new --output-json flag which will output build results in JSON instead of the normal human readable format. This is useful for using cargo-contract in part of data pipelines.

Merge request reports