Marshaller API similarized to Unmarshaller