Added toJSON method
Update changelog