JsonSerializable .cursorrules prompt files

JsonSerializable is a PHP interface that allows objects to specify how they should be serialized to JSON, providing flexibility in customizing JSON output.