When you use doctrine ORM and you have relations, you need to manually exclude them, the serializer won't magically prevent you from serializing your whole DB right ?

I don't see why the serializer would magically remove parent documents ? What if you want them in the output ?