// Convert Java Map to Json object and then encode inside HTML.
// If parsing errors are thrown, return an internal server error
// HTTP response.
try {
DependenciesResponse response;
String customPackageIdentifier = null;
if (moduleAnalysis instanceof RecursiveModuleAnalysis) {
customPackageIdentifier = createTemporaryPackageForRetrievedSource((RecursiveModuleAnalysis) moduleAnalysis);
}