use json helpers for Identity