json support for pictures