ID JSON serialization