Add support for backbone and react objects