$params is a JObject not an array
Add @return for docs block