Also, this doesn't serialize to JSON it seializes to an array, would it not be better to add an "toArray()" method to the Image? (open question)