serverinit: clean up and simplify the high-to-low-level config generator

Change-Id: Ia45457718fb8832b4da32d4d6c87c8a5ba9e2301