added JSON Serde code