Add a new format "format=PLAIN" to make compatible with old api

In older playsms versions the default webservices format was PLAIN, in the current versions the default and recommended usage is a json.
With this change we can output in the old format by passing "format=PLAIN" as a parameter