code: public Object compact(Context activeCtx, String activeProperty, Object element)
              throws JsonLdError {
          return compact(activeCtx, activeProperty, element, JsonLdOptions.DEFAULT_COMPACT_ARRAYS);
      }
docs: Compaction Algorithm
  
  http://json-ld.org/spec/latest/json-ld-api/#compaction-algorithm
  
  @param activeCtx
  The Active Context
  @param activeProperty
  The Active Property
  @param element
  The current element
  @return The compacted JSON-LD object.
  @throws JsonLdError
  If there was an error during compaction.