Fixed bug serializing photo Type enum (name mapping issue due to underscore prefix).