Example to demonstrate custom path serilaization