cubicweb #6378035 Customize entities JSON serialization [validation pending]

Customize how each entity is serialized to JSON in the json views. This will allow adding hypermedia controls to the response. Hypermedia controls are differnt from entity to another. That's why we need to customize the serialization.

prioritynormal
typeenhancement
done in3.22.0
load2.000
load left0.000
closed by#0939ad2edf63 [adapters] Use an adapter for serializing entities to a bare python structure
patch[adapters] Use an adapter for serializing entities to a bare python structure [applied]