[#990] Use jackson Object mapper to generate JSON