Fix namespace
Use data parameter and not route parameters
Default whitelist parameters
don't typecast parameters
don't typecast parameters
Change data to array for setCollectionRouteOptions