Macro helper for haxe.Serialize and haxe.Unserialize