docs(json): add json import documentation

related to CAM-2428
improve(dataformats): data format detection by readers

- allows readers to read a variable number of bytes from the input stream
- stream is rewound afterwards
- json and xml reader match input based on regex

related to CAM-2428