[0.9.12] resource -> attributes