added json as default marshalling for unknown objects