throw exceptions on invalid serialization.to. Allow also other elements than only input for data display with .html() method instead of .val()