Converts an object term when needed.
Object to potentially transform.
Optional
Whether strings are converted to literals or named nodes.
Converts an object term when needed.