JSON serialization coercion