it seems we do not support either. it will always try to output an empty array, not an empty object. if we set to use a data wrapper.