Fefferman [22] initiated a program of expressing the asymptotic expansion of the boundary singularity of the Bergman kernel for strictly pseudoconvex domains explicitly in terms of boundary invariants. Hirachi, Komatsu and Nakazawa [30] carried out computations of the first few terms of Fefferman's asymptotic expansion building partly on Graham's work on CR invariants and Nakazawa's work on the asymptotic expansion of the Bergman kernel for strictly pseudoconvex complete Reinhardt domains. In this paper, we prove a formula for coefficients in Nakazawa's asymptotic expansion as explicit summations over strongly connected graphs, and a formula expressing partial derivatives of Kähler metrics (resp. functions) as summations over rooted trees encoding covariant derivatives of curvature tensors (resp. functions). These formulae shall be useful in studying general patterns of Fefferman's asymptotic expansion.