Json中的数组与Symfony2

this is what i want:

[{
    "id": 1,
    "targetGroup": {
        "age": [5],
        "gender": [1],
        "income": [2]
    }
    ...
    ,
    {
        ...
    }
}]

i want an array in my json return.

Here is my Symfony Action:

public function advertisingPartnersAction() {
    $serializer = SerializerBuilder::create()->build();

    $em = $this->getDoctrine()->getRepository('MainBundle:Promotion');
    $query = $em->createQueryBuilder('qbPromotion')
            ->select('qbPromotion.id,qbEntry.entTitle,qbIndustry.indTitle,qbPacking.packTitle,qbEntry.edition,qbEntry.tkp')
            ->join('qbPromotion.entry2', 'qbEntry')
            ->join('qbEntry.packing', 'qbPacking')
            ->join('qbEntry.industry', 'qbIndustry')
            ->getQuery();

    $entity = $query->getResult();

    if ($entity) {
        $jsonEntity = $serializer->serialize($entity, 'json');
    } else {
        // TODO error
        die;
    }

    return new JsonResponse(json_decode($jsonEntity, true));
}

This works fine and returns:

[
    {"id":2,"entTitle":"Titel","indTitle":"Food","packTitle":"Karton","edition":1,"tkp":"38.10"},
    {"id":3,"entTitle":"Titel","indTitle":"Food","packTitle":"Karton","edition":1,"tkp":"38.10"},
    {"id":1,"entTitle":"Titel 2","indTitle":"Getr\u00e4nke","packTitle":"Flasche","edition":2,"tkp":"38.20"}
]

But i need an array like targetGroup in my json. How can i get it work?