fix deepextend - prevent recursion into objects with methods