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

I would rather leave serialization open in this test, as this mainly tests parsing. I could add a roundtrip at the end though.