If URI ends in json, don't add field id to end

This is to allow the mocks to work.