[WebBundle] Prevent fatal error when value is array type