private function get_names(array $data)
{
$names = ['english_name' => '', 'native_name' => '', 'custom_name' => isset($data['text']) ? $data['text'] : '', 'text' => '', 'http_name' => '', 'wp_locale' => ''];
$names = array_replace($names, array_intersect_key($data, $names));
return array_map('strval', $names);
}