* fix legacy json flag for gitlab private repos * some code * incorporated code from main * remove cloned repositories after the scan is complete * enhanced the code * comment addressed * changed the approach for persisting the repositories for legacy json printing * addressed comments; updated the variable names