A single field in an index can only be mapped one way, so the request_body field can not be mapped as both text and object in the same index. Either you need to change the structure so they are aligned, e.g. by moving the text content into a field under request_body, or store them in different indices.