Added resource serialization
Added Resource::MetaRecord serialization