convert pm2.enabled to boolean