Changed form upload to newer version and response to json.
Not yet finished:
- how to work with json in jsp