dump now supports all primitives