python: Use self-explanation webmark format and extract get_capabilities