Simplify Jython service code.
Signed-off-by: Dmitriy Pavlenko <dmitriy.pavlenko@sysgears.com>