BUG: Fix missing json import for print_build_output.