JSON fix and new bar-descriptor permissions