BUG Removed unnecessary escaping of DataObject properties in JSONDataFor...

Removed call to forTemplate when serializing a DataObject (fixes #3055).
Added simple testcase for JSONDataFormatter#convertDataObjectToJSONObject.