Update function visibility; Supress E_STRICT errors
Use associative arrays from JSON instead of JRegistry