improved REST convert utilities