getProfile added, started transition to json