Tweak to support really big merge requests

Related to:

https://gitlab.com/gitlab-org/gitlab-ce/issues/295#note_160691

Fix based on Matthieu Vachon suggestion.
Prefer double-quoted strings unless you need single quotes to avoid extra backslashes for escaping.