I was trying to create a Payload where one of the fields is Collection of another objects. So I created something like this.
use DateTimeInterface; use JMS\\Seria