Resolves #282 - GeneratedResource should implement Serializable so that it can be cached to disk