Study of two-photon decays of pseudoscalar mesons via $J/ψ$ radiative decays