Don't try to deserialize an object to check if it already exists (fixes #29)