Insights into the dehydrogenation reaction process of a K-containing Mg(NH2)2-2LiH system.