Fix NumberFormatException when trying to parse level number from package.json