Fixed IM thread limit.
Also disable graphicsmagick's parallelism.
Use the generic JSON module, not JSON::PP.