Fix a bug on calls resources when a list of calls is returned by the api
inside an array on a JSON object, also more cleaning on calls resources.

Change-Id: I9b20193eb2eb75f8588ac855090702dbda9b04b7
Signed-off-by: Jean Chassoul <chassoul@gmail.com>