|#000| refactoring, ignoring non_empty elements of objects, while getting serialized