removing Json.Net reference in favour of string building