completed JSON checking