Fix for #1733

Ensure content values that are returned from getContent() that contain \Twig_Markup objects have __toString() called before conversion to JSON.

Tested on all fields defined in kitchensink contenttype.

Fixes #1733