fix json endpoints for redis_files#show