The trouble with hearths is people stand on them and if the base isn't solid it might crack, so ideally you should scrape out the loose stuff so you can get a decent thickness, 3" if possible, then fill it with sharp sand and cement, not too wet, tamp it down well, put a thin piece of ply around...