Swap code from deprecated metabio_form module