Solved!
Apparently $form->getData() returns a whole entity!