Document json and xml formats