And in fact, not all the columns of a pothole should be publicly viewable - email address being one of them. I've changed toJSON in the base class and added a method called 'getPublic' that should be used instead.