Revert allowing string in Dict.from_json and correct json parsing from attributes

This could still be added :)