API changed to take simple JSON values instead of python dictionary.
XMLRPC Sample changed to reflect new API signature.