Adding to_hash method to citations