Fix troubles with line ending. Now I just replace a huge base64 string by a name of a reosurce. And after I replace names by base64 strings.
Fix. Forgot to put comma
Replace base64 string when reply