Added support for selectors that include dashes. Refactored JSON selector to provide similar support to XML selector. Updated specs and added new cases to verify behavior.