Feature: Format support for paths

Allows the usage of the class method path_format(value) or for it to be declared as an api option