tv4.addFormat accepts an object of format mappings

(haven't actually tested this, submitted directly from GitHub :smile: )