Updated EDD_API::output to not error if json_encode only accepts one param. #857