Add export parameter (using Sf2 ParameterBag) to pass more than the format.
Add jsonp export, fix a wrong variable name