fixed Sfosjson constructor