added initial pass at parsing JSON for search functionality