types: make Time3339 zero values be JSON null, back and forth

Change-Id: Iebf3defe041aee71e6d06b73159dbd105b545081
C+A: add Ulf Holm Nielsen

Change-Id: I014a29629162b10d463b012539b01d26a42ec966