Holographic representation of bulk fields with spin in AdS/CFT