Modified jsonify to allow passing the same parameters of json.dumps (expecially for custom encoders). Test suite updated to support the update