Make jsonutils.dumps more general
Make jsonutils.dumps more general

Fixes bug #1009848

Fixed jsonutils.dumps to receive other parameters

Change-Id: I34836ae89359bccb689a36a7b486e85bb41d70e4

openstack/oslo.serialization,cybertron/oslo.serialization,varunarya10/oslo.serialization