use correct parser to store ac_metadata
(cherry picked from commit 111fb21)