{"action":"created","issue":{"url":"https://api.github.com/repos/mulesoft/mongo-connector/issues/45","labels_url":"https://api.github.com/repos/mulesoft/mongo-connector/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/mulesoft/mongo-connector/issues/45/comments","events_url":"https://api.github.com/repos/mulesoft/mongo-connector/issues/45/events","html_url":"https://github.com/mulesoft/mongo-connector/issues/45","id":52709252,"number":45,"title":"Update objects by function using map inserts unwanted newline and escape characters","user":{"login":"apt-sky","id":8516441,"avatar_url":"https://avatars.githubusercontent.com/u/8516441?v=3","gravatar_id":"","url":"https://api.github.com/users/apt-sky","html_url":"https://github.com/apt-sky","followers_url":"https://api.github.com/users/apt-sky/followers","following_url":"https://api.github.com/users/apt-sky/following{/other_user}","gists_url":"https://api.github.com/users/apt-sky/gists{/gist_id}","starred_url":"https://api.github.com/users/apt-sky/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/apt-sky/subscriptions","organizations_url":"https://api.github.com/users/apt-sky/orgs","repos_url":"https://api.github.com/users/apt-sky/repos","events_url":"https://api.github.com/users/apt-sky/events{/privacy}","received_events_url":"https://api.github.com/users/apt-sky/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-23T02:39:55Z","updated_at":"2015-05-22T19:22:59Z","closed_at":null,"body":"I'm using the update-objects-by-function-using-map operation with the $push function and have noticed that mongo adds newline characters (\\n) and escape characters (\\) before the quotes.\r\n\r\n```\r\n[ \"{\\n    \\\"type\\\": \\\"healthcheck\\\",\\n    \\\"expectedStatus\\\": \\\"200\\\",\\n}\" ]\r\n```"},"comment":{"url":"https://api.github.com/repos/mulesoft/mongo-connector/issues/comments/104747881","html_url":"https://github.com/mulesoft/mongo-connector/issues/45#issuecomment-104747881","issue_url":"https://api.github.com/repos/mulesoft/mongo-connector/issues/45","id":104747881,"user":{"login":"cmartinezledo","id":10406699,"avatar_url":"https://avatars.githubusercontent.com/u/10406699?v=3","gravatar_id":"","url":"https://api.github.com/users/cmartinezledo","html_url":"https://github.com/cmartinezledo","followers_url":"https://api.github.com/users/cmartinezledo/followers","following_url":"https://api.github.com/users/cmartinezledo/following{/other_user}","gists_url":"https://api.github.com/users/cmartinezledo/gists{/gist_id}","starred_url":"https://api.github.com/users/cmartinezledo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cmartinezledo/subscriptions","organizations_url":"https://api.github.com/users/cmartinezledo/orgs","repos_url":"https://api.github.com/users/cmartinezledo/repos","events_url":"https://api.github.com/users/cmartinezledo/events{/privacy}","received_events_url":"https://api.github.com/users/cmartinezledo/received_events","type":"User","site_admin":false},"created_at":"2015-05-22T19:22:59Z","updated_at":"2015-05-22T19:22:59Z","body":"Hi apt-sky,\r\n\r\nCould you please provide us your flow? I tried to reproduce your situation, but it seems more like a transformer that it's alterating your payload."}}