use selectors to specify what info to return in json