Fixes #7144 - add/remove content-hosts fails

--content-host-ids is not being treated as an array and is
therefore being sent incorrectly through apipie. This correctly
treats params as array options by checking expected_type