Fixing null pointer exception while reading from searchBusines/restMap