Flag to control whether an empty array should be transformed to an object (in JSON: {}) or to a list (in JSON: []).
public const EMPTY_ARRAY_AS_OBJECT = 'empty_array_as_object';