public static function filterKeys($unfiltered, $whitelist)
	{
		$filtered = array_filter($unfiltered, function($key) use ($whitelist) {
			return in_array($key, $whitelist);
		}, ARRAY_FILTER_USE_KEY);

		return $filtered;
	}