fixed nested example response in docs

Closes #4935