So thanks to Jrg Hoh's comment, I added a new sling rewriter
configuration for this case as it seems the default rewriter
configuration was being used which tries to rewrite the html tags in the
json response.So I ended up with this: So, a few takeaways from
this... If utilizing the htmlparser like this, you must specify a value
for the includeTags otherwise, the configuration does nothing.I
specified application/json in the contentTypes but the content type
always seems to be text/htmlI didn't ...