def get(self): buildout_id = self.request.matchdict.get('buildout_id') buildout = Buildout.get_by_id(buildout_id) return buildout.get_as_dict()