Using elasticsearch 7.1.0 I have objects like this:
{ ... other fields "entityId": "abcdef", "anotherParameter": "something