objectToBase64String and base64StringToObject methods added