Modified gui ready for new json format