Display Array of objects as single record/ row

Hi I’m new to N1QL, can anyone help me with select query.
Below is the document structure.

{
"id" : "0123",
"arr1" : [
{
"name" : "phone",
"value" : "9999999999"
},
{
"name" : "email",
"value" : "cb@gmail.com"
}
] 
}

Expected Result :
[
{
“id” : “0123”,
“phoneNo” : “9999999999”,
“emailaddress” : “cb@gmail.com
}
]

Thanks