update data/options to locals for better consolidate.js conformance