Langchain for json vs. Python JSON library

Can someone explain the benefit of using langchain to convert the output to json as demonstrated in the course vs using the Python JSON library?