I need to add info to hotspot view but I dont want to modify helper prepareHotspotForJsonOutput
public static function prepareHotspotForJsonOutput($hotspot, $users = array())
{
$description = preg_replace("@[\\r|\\n|\\t]+@", '', $hotspot->description_small);
$address = self::formattedAddress($hotspot);
$jsonHotspot = array(
'id' => (int) $hotspot->hotspots_id,
...
'multimedia' => $hotspot->multimedia,
'category' => JText::_('BNB_CAT_'.$hotspot->catid)
IT WORKS BUT IT IS DANGEROUS 
);
It's better overriding jsonv4 view
...
foreach ($this->list['hotspots'] as $key => $hotspot)
{
$html['hotspots'][$key] = HotspotsHelperHotspot:
repareHotspotForJsonOutput($hotspot, $this->users);
OVERRIDE SOMETHING HERE
}
...
How to do?
Regards
Michel