Updated the REST API
Replaced .Double() by .Number() because the former will throw MsgAssertionException when the MongoDB type is 16 (i.e. 32-bit integer)