extracted configuration to a json formatted file