added json export capability

Now lime survey can be exported in json format also.
Added a simple private method that will convert xml to json.
the survey is first exported into xml using the current available functionality, and then later just translated to json and then output.