unify config_var and addon parsing to yaml2json script
always upload process_types
add write_profile_d param defaulted on