Ensure 'make test' always uses up-to-date code.
Simplify object extraction and type checking.
Allow for separate serialization of strings.