moved json and xml parsers to core