М.Б. как-то в таком стиле? (строки 13-24)
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<section></section>
<script>
var test = {
gsx$type:{$t:'testclass'},
gsx$title:{$t:'Test Title'},
gsx$image:{$t:'http://javascript.ru/cat/list/donkey.gif'}
};
$('section').html('test content');
var art = $('<article/>', {
class: test.gsx$type.$t,
html: $('<header/>', {
html: $('<h2/>', {
text: test.gsx$title.$t
})
}) ,
});
art.append( $('<img/>', {
src: test.gsx$image.$t
}))
art.prependTo($('section'));
</script>