Eng 7343 download deployment

no need to create large strings needlessly. Please do for all objectmapper writes

```java
Writer rw = response.getWriter();
if (jsonp != null) {
    rw.write(jsonp + "( ");
}
 mapper.writeValue(rw, new Profile(authResult.m_user, authResult.m_perms));

if (jsonp != null) {
    rw.write(jsonp + ")");
}
```