Set defaults values in \RestfulEntityBase::getPublicFields.