Add support for JSON serialization format