Fix #2596: parse instead of from_json