Allow date objects and other instances as values in nested objects. Only further flatten base objects