network: refactor code, move generalGetSettingXXXKeyJSON() to autogen area
network: add nm_autogen
network: update nm setting autogen code