Taking care of Usergrid weird strings and session.get