Update pylint, pep8, return json for REST call