merge output_json into output_type