I think a separate serialistion API would be preferable to piling methods onto the class. It would help avoid the string-typing of the `form` parameter too.