Convert BoundedInt value from json into int

Wsme doesn't convert automaticaly the value of a UserType into
its basetype. This changeset do it

Change-Id: I7402e144e6a337bbed13789c1611a163bbf9ba61