created and implemetned json format function
Merge branch 'master' of https://github.com/maxsnew/337-projects