Now able to handle all defaultvalue types except object fields