we might call this imageToArray - i think a toArray method on the image is not cool - we want control over what fields exist.

i guess the serializer later converts this array to a json string. but the method name indeed looks funny for what it returns.