Return result as application/json instead of text/html so that Chameleon doesn't wrap it in <html> blocks.