Allow creating an optional DataItem without default value

Change-Id: Id07af4be6cd8762a7e3486cf652da9d52c71c2b9