I have an array of JSON in my Rails App in this format using Active Model Serializer:
[
{
"contact" : {}
},
{
"contact" : {}
}
]
How do I make it so that I remove one level of node above the contact USING active model serializer like this:
[
{
},
{
}
]
I also want to remove the node name "contact".