[scripts] Adding a script for dumping Image and Annotation Databases