formatter load config
add register and getter for all components
suport python style json format config