gui adapted to new json-format (json not yet finished though)