format output
search api 1.1 uses count instead of rpp (issue#3)