use shared_ptr for the nifti header (instead of a plain pointer)
add basic json parser in nifti_sa