change product controller, make json parameter available.