Multi-differential studies of the J/ψ production in p-Pb collisions at sqrt(s_NN) = 8.16 TeV