jsonconfig: skip over nil values when expanding

Change-Id: I5dfb7b3022da1ec689cf767e5d088c73c5589386