Drain the sweet potatoes and transfer to a large mixing bowl. Mash the sweet potatoes along with the beaten eggs, 1/2 cup maple syrup, 2 tablespoons melted butter, coconut milk, nutmeg, and a pinch of salt and pepper. Spoon the mashed sweet potato mixture into the baking dish.