removed the check of empty attributes because now dmweb deserialized
using default constructor that can initialize the attributes