"search json" action: Move the JSON callback method into an own action.