resource parsing
provide a method to configure the object mapper