[codiag] Wiring up firebase serialization to diagram directive. (#15)