Fixes #215. Update json help and fix permission error