added detailLevel parameter, changes list of id's format to list of JSON objects