added support for custom traits in fullstory

@harrietgrace @ndhoule @amillet89