Updated put object request to be serializable
Made ObjectMetadata class serializable, Made PubObjectRequest serializable