change name of exposed method to "declarations", and leave the camel cased keys as an implemtation detail