[core] [fix] Don't automatically create an empty object unless a default value is provided