As a tool developer I want the Action API to replicate the same response to EntitySchemas in statements as other Wikibase Entities in order to have a more seamless experience
**Problem:**
From @Pintoch: As a tool developer, I observe that the API exposes those values as string datavalues and not entities: https://test.wikidata.org/w/api.php?action=wbgetentities&ids=Q497.
{F37110313}
In this screenshot, you can see that the Action API returns the `type` in the EntitySchema statement as `string` rather than `wikibase-entity` as it does for item values.
To create a more consistent user experience for tool developers, we should replicate the way that Wikibase Entities are treated for EntitySchemas.
**Screenshots/mockups:**
**BDD**
GIVEN statement using the EntitySchema data type
AND Action API
WHEN Action API returns the statement
THEN the EntitySchema is returned as a `wikibase-entity`
**Acceptance criteria:**
[ ] An EntitySchema is returned as a `wikibase-entity` when accessed through the Action API
**Open questions:**