Added EmbeddedResource class, and expected JSON.