manually marshall ObjectMetadata as a couple of getters misbehave from sdk version >= 1.7.4 (e.g. getRawMetadata())
cleanup
sdk upgrade and version bump