@Ruffles I tried it and this is what happened inside of the first array object
roles: [
{
id: 1,
role: "Owner",
description: "Full access to parts of system.",
created_at: "2015-04-03 03:42:27",
updated_at: "2015-04-03 03:42:27",
deleted_at: null,
pivot: {
user_id: 1,
role_id: 1
}
},
{
id: 2,
role: "Administrator",
description: "Full access to create, edit, updated and delete resources excluding site related content.",
created_at: "2015-04-03 03:42:27",
updated_at: "2015-04-03 03:42:27",
deleted_at: null,
pivot: {
user_id: 1,
role_id: 2
}
}
]