Add type to imagelayerserializer, fixup spec