add option for global object mapper... sorta hacky, but we need it for android