now returns a single json object, removed cruft, fixed readme