Customize JSON output for generic files
Working on JSON/API responses for generic files controller