WIP: return json string when upload file is too large