JLD: support general complex types (fix #108)