When using JSON:API, the body field of a node (article) is returned like this:
body: {
format: "basic_html",
processed: "<p>blah blah blah</p>",
value: "blah blah blah"
}
However, I just want to return body: "<p>blah blah blah</p>"
(the value of processed
).
What hook or class method should I use to override this?