#18 add flag to get assoc array result as json_decode offers