enable offline mode (initialize data from json)