Allow also other elements than inputs for data display

throw exceptions on invalid serialization.to. Allow also other elements than only input for data display with .html() method instead of .val()

my IDE (PHPStorm) also changed tabs/newslines/whitespace crap, sorry!