recording rest jsons as well
radically rewritten marshallers

there were a problem with easy reusabilty of marshallers as well as the processing of xml attributes and elements had to be split up.