Got the rest inteface to work for a couple of interfaces, line form and
form/fromcreator. It seems a good way to connect with angularjs via
asynchronous http requests.