Fixed #608 second part, the actual calling of the methods.

For interpreter it makes sense to pass it as a map[str, value] but for
the java side this makes no sense.