added correct decorator serialization