Extend normalize extras method for Strings

Until now, String encoded Strings were ignored by the normalize extras
method. In order to deal with them they have been added to the valid
method.

Signed-off-by: Konrad Reiche <konrad.reiche@gmail.com>