replaced the getObjectValue and getTextValue interpreter functions with a more generic, cleaner function called getObjectAttributes