Fixed domestic trade offer problem

There was a serialization error for trade offers.
Also:
- moved temporary/debug init code to Server.java
- fixed problem with error messages not showing up in Swagger UI