Add the omitNothingFields encoding option