Fixing constructor overload mess in JSON.