parse photos field like passport-facebook and passport-twitter libs