fix automation attributes parsing; read Chef setup DB password from json.config; exception handling and HTML message printing; refactoring