added support for defaultvalues

Signed-off-by: Benjamin Reh <ich@benjaminreh.de>