Method ObjectStorage_GetObjectsJsonBulk()
SELECT objects as JSON (bulk). Params: $1=objectIds (array), $2=depth
PostgreSQL: SELECT get_object_json(id, $2)::text FROM unnest($1::bigint[]) AS id
MSSQL: Cursor or table-valued function
public string ObjectStorage_GetObjectsJsonBulk()