protected function extractRequestBody()
    {
        $propertyMappingConfiguration = new PropertyMappingConfiguration();
        $propertyMappingConfiguration->setTypeConverter($this->objectManager->get(MediaTypeConverterInterface::class));
        $propertyMappingConfiguration->setTypeConverterOption(MediaTypeConverterInterface::class,
            MediaTypeConverterInterface::CONFIGURATION_MEDIA_TYPE, 'application/json');
        $result = $this->objectManager->get(PropertyMapper::class)->convert($this->request->getHttpRequest()->getContent(),
            'array', $propertyMappingConfiguration);

        return $result['data'];
    }