add initial `.format` method
add missing dependency "component-type"
bump to 0.1.2