WIP: Add entity API integration for field discovery

we actually do very little there (not taking care of more special fields such as entity-reference), but that can be a follow up maybe?