Replace dot with slash (data-dojo-type) + indent + misc code format.