Fixes #3 top-level attributes being ignored during deserialize