Topological formation of small scales in magnetohydrodynamics: a fast dissipation mechanism