fix #39 do not double implement jsonSerialize