def response_shim(body, status)
      items = JSON.parse(body, symbolize_names: true)

      { response: { items:      items,
                    offset:     0,
                    limit:      items.size,
                    totalItems: items.size,
                    modeItems:  false },
        status:   { result:     status == 200 ? 'OK' : 'ERROR',
                    message:    extract_api_message(status, items),
                    code:       status } }.to_json
    end
def response_shim(body, status)
      items = JSON.parse(body, symbolize_names: true)

      { response: { items:      items,
                    offset:     0,
                    limit:      items.size,
                    totalItems: items.size,
                    modeItems:  false },
        status:   { result:     status == 200 ? 'OK' : 'ERROR',
                    message:    extract_api_message(status, items),
                    code:       status } }.to_json
    end
Fake a response which looks like we get from all the other
 paths. I'm expecting the user response model to be made
 consistent with others in the future.