Added the json output for the homework