Passing gson and domain service in constructor