added case of empty object and empty array
version bump