Added support for hash map index values in request/remove JS API
functions.