If you do want the interchange format to be the one deserializing into specific runtime data structures, use YAML. YAML's tag syntax allows you to run arbitrary code inside YAML, which can be used for what you want.
I'm not talking about compound values like x+y or lat/lon.
This would probably best exist as a well-known wrapper around JSON itself.