putting the annotation in the file didnt work I had to put it "use JMS\Serializer\Annotation\Type;" on the attorney abstract.