removed evals from toTypedObject