private function convertArrayToEntityValue(array $value) { $properties = []; foreach ($value as $key => $val) { $properties[$key] = $this->valueObject($val); } return ['entityValue' => ['properties' => $properties]]; }