Replace sequence in nested objects, closed #18