Add option for serializing null in Register annotation