update to new permissions.json format - android permissions come in an array now
Updating with granted permissions
making permission names really unique