Added mode for switching between static and real json data