works to return valid json