FELIX-3958 Wrap plain text response in pseudo JSON

Make sure JSON response is generated even though a printer
may only support plain text

git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@1455133 13f79535-47bb-0310-9956-ffa450edef68