Added serialization and de-serialization of collector object using Jackson Jr lightweight json library