send programme in JSON when programme tab is selected