Fix bug in support for primary key at a non-root path in the response dictionary