this is dumping json correctly now