Added json scope file support