Assume we are working on a Minkowski (i.e. flat) spacetime.
Let $A^{\mu} = ( \phi/c, \textbf{A})$ be the contravariant potential four-vector. Then, assuming a covariant Minkowski metric of $\eta_{\mu \nu} = \textrm{diag}[+, -, -, -]$, we have that $A_{\mu} = ( \phi/c, -\textbf{A})$ is the covariant potential-four vector.
We also have that $\alpha = A_{\mu} dx^{\mu}$ is the potential one-form.
We then define $ F = d\alpha = \frac{1}{2} (\partial_\mu A_\nu - \partial_\nu A_\mu) dx^\mu \wedge dx^\nu$ to be the electromagnetic two-form.
Now, let $J^{\mu} = (c\rho, \textbf{J})$ be the contravariant current four-vector.
Then, $ J = \frac{1}{6} J^\mu \epsilon_{\mu \alpha \beta \gamma}dx^\alpha \wedge dx^\beta \wedge dx^\gamma$ is the current three-form.
With these definitions, Maxwell's equations become
\begin{equation} dF = 0 \; \; \; (\textrm{i}) \end{equation} \begin{equation} d(*F) = J \; \; \; (\textrm{ii}) \end{equation}
(Recall that $*$ is the Hodge Star operator).
Now, to extend these Maxwell equations to a curved spacetime, it appears that we must alter the current three-form:
\begin{equation} J = \frac{1}{6} \sqrt{|g|} J^\mu \epsilon_{\mu \alpha \beta \gamma}dx^\alpha \wedge dx^\beta \wedge dx^\gamma \; \; \; (\textrm{iii}) \end{equation}
Here, $\sqrt{|g|}$ is the square root of the absolute value of the determinant of the covariant metric on the Riemannian manifold were are working with.
With this new definition of $J$, Maxwell's equations are just equations (i) and (ii).
My question is the following. Why does simply modifying the current three-form to include the "natural" pseudo-Riemannian volume form $\sqrt{|g|} dx^\alpha \wedge dx^\beta \wedge dx^\gamma$ allow us to use the flat spacetime formulation of Maxwell's equations in curved spacetime?