Added toJson method to help serializing
Added toJson method to help serializing