Added json api for projects