expose ids in json, bind custom rest methods to get