Adding anyjson in requirements.txt
#943 creating a condition to reload the segment list