Set default output method to json