Updates to REST api making searches a little cleaner.