add custom format to _mapping.py