for a project I need adding images of various types to canvas, saving to JSON and loading again. The different types does not have any specific properties, I only need the t