Convert to JSON format instead of XML