update `beLike` to work recursively for arrays and objects

fix enhancement #6