Made skinning data serializable

Signed-off-by: Martin Evans <martindevans@gmail.com>