In-situ formation of low-dimensional, magnetic core-shell nanocrystal for electromagnetic dissipation