extend object from default object or if it is undefined return default one