Send the params as JSON, altered as needed
Added the route to names_for_ids