fixed issue where JSON not storing inherited properties in User