GIRAPH-963 Aggregators may not be initialized properly

Summary: Aggregators may fail with IllegalArgumentException upon deserialization

Test Plan: Run same job

Reviewers: majakabiljo, pavanka, pavanka.26, maja.kabiljo

Reviewed By: maja.kabiljo

Differential Revision: https://reviews.facebook.net/D28227