fix install buttons for hosted v packaged
use json helper