Added photo id that is a string, for compatibility with Google Drive API

Added test for null objects to JSON encoder