Make objectFromStream always throw parse_error_exception