Alberdingk Thijm, J.A. (Josephus Albertus), 1820-1889