Split dojo definition out into its own json file.

Just a bit of tidying up.