Improved REST parameters types conversions.