Add checks
- output.responseLists.length > 0
- output.responseLists[0].features.length > 0
to avoid type errors