support json result in search, fixed #189