add mapping for formatting json