PICARD: refactor code to de-reference only as needed

Do the de-referencing the hash of existing results and storing new
results within the same block for clarity and brevity.