Finish inventors and add assignees
Correct duplicate results
Add format option (JSON, XML). Refactor a bit in query.php
Added XML output, but format of the XML is not correct yet.
Correct XML nesting format