Strip null values

Strip null values from arguments array before returning. This mainly
affected the root route.