#9 Have implemented filtering in the rest api. Have also modified how data is returned to allow for the total per query to be returned as well as the dataset.