Attributes Object

type[*].attributes will now return a single object instead of an array that contains multiple objects.

Old:
```js
{
  type: [
    { 
      resource: "image.png",
      attributes: [ { alt: "image" }, { src: "image.png" } ]
    {
  ]
}
```

New:
```js
{
  type: [
    { 
      resource: "image.png",
      attributes: { alt: "image", src: "image.png" }
  ]
}
```