permissions changes, working on json