not sure of this method name either, as it returns a hash (of js admittedly) but a hash nonetheless.