Added get object values method, which will probably be replaced inside with a better model