XML => JSON
cleanup
cleanup deprecated
XML => JSON + introduce JSON helpers
use helpers