NXP-12873 Make rest client compatible with all possible automation endpoints