Replace optimize flag in JsonLdOptions with processingMode

This addresses #232.