[fix] Correctly parse weight if the given object doesn't have it