Separation of Concerns - json messages creation moved to dedicated class