BUG-579: Make sure builder-generated object do not emit null values

Change-Id: Ifff51ab174ca03df129943c67155082c363554b8
Signed-off-by: Robert Varga <rovarga@cisco.com>