A server method for converting objects of a first type into objects of a
second type, the method comprising: a) identifying one or more object
classes of the first type; b) determining instance data based on the
classes of the first type; c) introspecting each class of the first type;
d) creating an artifact representing a software model; and e) generating
one or more converters, each converter being based on the artifact and is
configured for receiving the instance data and generating JavaScript code
for recreating the instance from the classes as objects of the second
type, for display on a browser.