Type cast fetchall params
Fix namespace
Default whitelist parameters
don't typecast parameters
Change data to array for setCollectionRouteOptions