Added serialization for the layout stuff
added the imageurl computed field