Dumps the annotation of a model using the same JSON format as getModelInstance, optionally filtering out only certain parts.
function getModelInstanceAnnotation input TypeName className; input String[:] filter = fill("", 0); input Boolean prettyPrint = false; output String result; end getModelInstanceAnnotation;