Build outer JSON object using string manipulation, not json builder
Build JSON in chunks