Fix 500 errors when returning :no_content, fixes #2029
This MR fixes issues with returning empty (204) responses in the API with the latest version of Cowboy. json_response(conn, 204, "")
, started returning 500 errors because the empty string would get converted into "\"\""
which causes new versions of Cowboy to raise an error when used with a 204 status.
Edited by Alex Gleason