added json conversion for search results as well as callback
merged