Shape reconstruction via equivalence principles, constrained inverse source problems and sparsity promotion